'use strict';

// 短连接
module.exports = app => {
  const { router, controller } = app;

  router.get('/short-connection/redis', controller.shortConnection.index.redisCreate);
  router.get('/short-connection/redis/:id', controller.shortConnection.index.redisGet);
  router.get('/short-connection/mongo', controller.shortConnection.index.mongoCreate);
  router.get('/short-connection/mongo/:id', controller.shortConnection.index.mongoGet);
};
